package com.yuyou.tas.admin.api;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.yuyou.tas.admin.service.ICommKeyConfigService;
import com.yuyou.tas.service.api.admin.entity.CommKeyConfig;
import com.yuyou.tas.service.api.admin.service.CommKeyConfigAPI;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;





@RestController
public class CommKeyConfigAPIImpl implements CommKeyConfigAPI{

	@Autowired	
	private ICommKeyConfigService commKeyConfigService;
	
	
	@Override
	public ResBoolSimpleInfo<CommKeyConfig> selectByDataKey(@RequestParam("key") String key) {
		return commKeyConfigService.selectByDataKey(key);
	}
	

	

	
}
